--redis释放锁

local lock_name = KEYS[1]

if (redis.call("get",lock_name) == ARGV[1]) then
    return redis.call("del",lock_name)
    
end
return 0